/**
 * 构建应用顶级路由
 * Created by zhangkai on 2016/11/23.
 */
import {NgModule}             from '@angular/core';
import {RouterModule, Routes} from '@angular/router';


//根路由设置为空
//默认转向登陆路油
const appRoutes: Routes = [
    {
        path: '',
        redirectTo: '/login',
        pathMatch: 'full'
    },
];

@NgModule({
    imports: [
        RouterModule.forRoot(appRoutes)
    ],
    exports: [
        RouterModule
    ]
})
export class AppRoutingModule {
}
